package com.swagger.demo.admin.custom2.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(description = "权限信息")
public class DemoVoPermission {
    @ApiModelProperty(value = "权限的类型：url、页面元素、菜单", example = "action/menu/element", position = 100)
    private String type;

    @ApiModelProperty(value = "主键", example = "1", position = 200)
    private Long id;

    @ApiModelProperty(value = "父主键(树状表),一般是'菜单'类型适用", example = "1", position = 300)
    private Long parentId;

//    @ApiModelProperty(value = "唯一标识串", example = "abcdefghijklmn", position = 400)
//    private String uniqueKey;
    @ApiModelProperty(value = "唯一标识串", example = "12345678", position = 400)
    private Long uniqueKey;

    @ApiModelProperty(value = "路径", example = "url", position = 500)
    private String url;

    @ApiModelProperty(value = "显示文本", example = "人员管理", position = 600)
    private String text;

    @ApiModelProperty(value = "node,一般不关注", example = "", position = 700)
    private Long node;

    @ApiModelProperty(value = "备注,一般没有", example = "", position = 800)
    private Long remark;

}